#pragma once


enum displayType { eInput, eOutput };

class CInputDevice
{
public:
	CInputDevice(void);
	~CInputDevice(void);

	void Init(LPDIRECT3DDEVICE9 pDevice);

	void SetHandle(HWND hWnd) { m_hWnd = hWnd; }

	void DrawText(displayType dt, std::wstring strOut);

	LRESULT MsgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam );

	void Render();

private:
	HWND m_hWnd;

// 	char m_strComposit[MAX_PATH];
// 	char m_strOutput[MAX_PATH];

 	WCHAR m_strComposit[MAX_PATH];
 	WCHAR m_strOutput[MAX_PATH];

	ID3DXSprite* m_pSprite;
	ID3DXFont* m_pFont;
	ID3DXLine* m_pLine;

	LPDIRECT3DTEXTURE9 m_pTexture;
	RECT m_rcTexture;
};
